.powercord-plugin {
  padding: 20px;
  margin-bottom: 20px;

  &-header {
    display: flex;
    margin-bottom: 10px;

    h4 {
      font-size: 18px;
      flex: 1;
    }
  }

  &-container, &-permissions {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;

    > div {
      width: 33%;
      margin: 10px 0;
      display: flex;
      align-items: center;

      > svg {
        width: 24px;
        height: 24px;
        margin-right: 10px;
        flex-shrink: 0;
      }

      span + div {
        cursor: pointer;
      }

      &.description {
        width: 100%;
      }
    }

    .version span + svg {
      height: 18px;
      margin-top: -3px;
      margin-left: 5px;
      color: #faa61a;
    }

    .license span + div svg {
      width: 14px;
      height: 14px;
      margin-left: 10px;
    }

    .license {
      span + svg, span + div svg {
        width: 14px;
        height: 14px;
        margin-left: 10px;
      }
    }
  }

  &-permissions {
    padding-top: 20px;
    margin-top: 20px;
    flex-wrap: nowrap;
    flex-direction: column;

    .item {
      width: 100%;
      margin: 0 0 10px;

      svg {
        width: 22px;
        height: 22px;
      }
    }
  }

  &-footer {
    padding-top: 20px;
    margin-top: 10px;
    display: flex;
    justify-content: space-between;

    .btn-group {
      display: flex;

      button + button {
        margin-left: 10px;
      }
    }
  }

  &-permissions, &-footer {
    border-top: 1px var(--background-modifier-accent) solid;
  }

}

